﻿using System.Collections.Generic;

namespace YanTableManger.TableData
{
    /// <summary>
    /// 校车补贴表格式类
    /// </summary>
    class STableData
    {
        /// <summary>
        /// 工号
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 校车补贴
        /// </summary>
        public int Money { get; set; }

        public STableData(string id, string name, int money)
        {
            Id = id;
            Name = name;
            Money = money;
        }
        public STableData() { }

        public List<object> ToList()
        {
            return new List<object>()
            {
                Id,Name,Money
            };
        }
    }
}
